<!-- INCLUDE overall_header.html -->

<br />

<form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}>

	{PLUGIN_POST_ITEM_ABOVE_PREVIEW}

	<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE shop/item_list.html --><!-- ENDIF -->

	<div class="panel" id="postingbox">
		<div class="inner"><span class="corners-top"><span></span></span>

		<h3>{L_POST_A}</h3>

	<fieldset>
			<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->

			<!-- IF S_CONFIRM_CODE -->
			<dl>
				<dt><label for="confirm_code">{L_CONFIRM_CODE}:</label><br /><span>{L_CONFIRM_CODE_EXPLAIN}</span></dt>
					<dd><input type="hidden" name="confirm_id" value="{CONFIRM_ID}" />{CONFIRM_IMAGE}</dd>
					<dd><input type="text" name="confirm_code" id="confirm_code" size="8" maxlength="8" class="inputbox narrow" title="{L_CONFIRM_CODE}" /></dd>
			</dl>
			<!-- ENDIF -->

			{PLUGIN_POST_ITEM_ABOVE_ITEM_NAME}

			<dl>
				<dt><label for="item_name">{L_ITEM_NAME}:</label></dt>
				<dd><input type="text" name="item_name" id="item_name" size="45" maxlength="128" value="{ITEM_NAME}" class="inputbox autowidth" /></dd>
			</dl>
			<dl>
				<dt><label for="item_cost">{L_ITEM_COST}:</label><br /><span>{L_ITEM_COST_EXPLAIN}</span></dt>
				<dd><input type="text" name="item_cost" id="item_cost" size="45" maxlength="128" value="{ITEM_COST}" class="inputbox autowidth" /></dd>
			</dl>
			<dl>
				<dt><label for="item_inventory">{L_ITEM_INVENTORY}:</label><br /><span>{L_ITEM_INVENTORY_EXPLAIN}</span></dt>
				<dd><input type="text" name="item_inventory" id="item_inventory" size="45" maxlength="128" value="{ITEM_INVENTORY}" class="inputbox autowidth" /></dd>
			</dl>

			{PLUGIN_POST_ITEM_ABOVE_BUTTONS}

			<!-- INCLUDE posting_buttons.html -->

			<div id="smiley-box">
				<!-- IF S_SMILIES_ALLOWED and .smiley -->
					<strong>{L_SMILIES}</strong><br />
					<!-- BEGIN smiley -->
						<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
					<!-- END smiley -->
				<!-- ENDIF -->
				<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED-->
					<br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
				<!-- ENDIF -->

				<!-- IF BBCODE_STATUS -->
				<!-- IF .smiley --><hr /><!-- ENDIF -->
				{BBCODE_STATUS}<br />
				<!-- IF S_BBCODE_ALLOWED -->
					{IMG_STATUS}<br />
					{FLASH_STATUS}<br />
					{URL_STATUS}<br />
					{SMILIES_STATUS}
				<!-- ENDIF -->
				<!-- ENDIF -->
			</div>

			{PLUGIN_POST_ITEM_ABOVE_MESSAGE}

			<div id="message-box">
				<textarea name="message" id="message" rows="15" cols="76" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" class="inputbox">{ITEM_DESC}</textarea>
			</div>

			{PLUGIN_POST_ITEM_BELOW_MESSAGE}

		</fieldset>
		<span class="corners-bottom"><span></span></span></div>
	</div>

	{PLUGIN_POST_ITEM_ABOVE_SUBMIT}

	<div class="panel bg2">
		<div class="inner"><span class="corners-top"><span></span></span>
		<fieldset class="submit-buttons">
			{S_HIDDEN_FIELDS}
			<input type="submit" name="preview" value="{L_PREVIEW}" class="button1" />&nbsp;
			<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />&nbsp;
		</fieldset>
		<span class="corners-bottom"><span></span></span></div>
	</div>

	{PLUGIN_POST_ITEM_ABOVE_TABS}

	<div id="tabs">
		<ul>
			<!-- BEGIN panel_list -->
				<li id="{panel_list.NAME}-tab" <!-- IF panel_list.S_ROW_COUNT == 0 -->class="activetab"<!-- ENDIF -->>
					<a href="#tabs" onclick="subPanels('{panel_list.NAME}'); return false;"><span>{panel_list.TITLE}</span></a>
				</li>
			<!-- END panel_list -->
		</ul>
	</div>

	{PLUGIN_POST_ITEM_BELOW_TABS}

	<div class="panel bg3" id="options-panel">
		<div class="inner"><span class="corners-top"><span></span></span>

		<fieldset class="fields1">
			<!-- IF S_BBCODE_ALLOWED -->
				<div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"<!-- IF S_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_DISABLE_BBCODE}</label></div>
			<!-- ENDIF -->
			<!-- IF S_SMILIES_ALLOWED -->
				<div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"<!-- IF S_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_DISABLE_SMILIES}</label></div>
			<!-- ENDIF -->
			<!-- IF S_LINKS_ALLOWED -->
				<div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"<!-- IF S_MAGIC_URL_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_DISABLE_MAGIC_URL}</label></div>
			<!-- ENDIF -->

			<!-- IF S_EDIT_REASON -->
			<dl>
				<dt><label for="edit_reason">{L_EDIT_REASON}:</label></dt>
				<dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd>
			</dl>
			<!-- ENDIF -->
		</fieldset>
		<span class="corners-bottom"><span></span></span></div>
	</div>

	<!-- IF S_CATEGORIES_PANEL -->
		<div class="panel bg3" id="categories-panel">
			<div class="inner"><span class="corners-top"><span></span></span>

			<fieldset class="fields1">
				<dl>
					<dt style="width: 25%; padding-right: 16%;"><label for="category">{L_CATEGORY}:</label><br /><span>{L_CATEGORY_EXPLAIN}</span></dt>
					<dd>
						<select id="category" name="category[]" multiple="yes" size="5">
							<option value="0"<!-- IF S_CAT_0_SELECTED --> selected="selected"<!-- ENDIF -->>------</option>
							{CATEGORY_LIST}
						</select>
					</dd>
				</dl>
			</fieldset>
			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->

	{S_FORM_TOKEN}
</form>

<script type="text/javascript">
// <![CDATA[
	var panels = new Array(<!-- BEGIN panel_list -->'{panel_list.NAME}'<!-- IF not panel_list.S_LAST_ROW -->, <!-- ENDIF --><!-- END panel_list -->);

	subPanels('options-panel');
// ]]>
</script>

<!-- INCLUDE overall_footer.html -->
